import time

import akshare as ak
# 公募基金列表-指数型
# http://fund.eastmoney.com/trade/zs.html
df = ak.fund_info_index_em(symbol='全部', indicator='全部')
date = time.strftime("%Y%m%d", time.localtime())
df.to_excel(f'公募基金列表-指数型-{date}.xlsx', index=False)

